/**
 * Copyright [2020] [LiBo/Alex of copyright liboware@gmail.com ]
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.callcenter.model.po;

import com.hyts.callcenter.model.bo.TaskRecycleWeekInterval;
import lombok.Data;

import java.util.List;

/**
 * @project-name:callcenter
 * @package-name:com.hyts.callcenter.model
 * @author:LiBo/Alex
 * @create-date:2021-11-06 10:55 下午
 * @copyright:libo-alex4java
 * @email:liboware@gmail.com
 * @description:
 */
@Data
public class TaskPersistModel {

    /**
     * 任务id
     */
    private Long taskId;

//    @NotNull(message = "status is cant be null")
    private Integer status;

//    @NotNull(message = "outboundLines is cant be null")
    private List<OutboundLinePersistModel> outboundLines;

    /**
     * ai机器人数量
     */
    private Integer aiRobotNum;

    /**
     * 任务执行的间隔
     */
    private List<TaskRecycleWeekInterval> callTaskPeriodDTOS;


    private String weekPeriod;


    private String callPhoneParams;

//    @NotNull(message = "templateCode is cant be null")
    private String templateCode;

    /**
     * 开始时间
     */
    private Long startTime;

    /**
     * 结束时间
     */
    private Long endTime;

    /**
     * 删除标志
     */
    private Integer deleteFlag;

    /**
     * 提前操作超时
     */
    private Integer earlyMediaTimeout;

    /**
     * 自动拨打并发
     */
    private Double concurrentRate;

    /**
     * 是否并发 0 否 1 是
     */
    private Integer isConcurrent;

    /**
     * 企业ID,所属表字段为call_task.enterprise_id
     */
    private Long enterpriseId;

}
